<?php

function StatsbeforeFilterhook($controller)
{
	if(!isset($controller->params['requested']))
	{
		if(!isset($controller->params['prefix']))
		{
			$controller->helpers[] = "Stats.Hit"; 
		}
	}
}

// set available modules here
function StatsGetModulesHook($controller)
{
	$controller->modules['stats'][] = 'mod_stats';
}
	
?>